package com.sskj.trafficcontrol.service.impl;

import com.sskj.trafficcontrol.dao.TcTipImgDAO;
import com.sskj.trafficcontrol.model.pojo.TcTipImg;
import com.sskj.trafficcontrol.service.TipImgService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author : zhao kuo
 * @date : 2019/2/2 21:01
 * @description :
 */
@Service
public class TipImgServiceImpl implements TipImgService {

    @Autowired
    private TcTipImgDAO tcTipImgDAO;

    @Override
    public TcTipImg getImgUrl(int i) {

        return   tcTipImgDAO.selectByPrimaryKey(i);
    }
}
